home *** CD-ROM | disk | FTP | other *** search
/ Pluspack 1 / Caligari Corporation Pluspack1 1998.iso / TSX_SDK / tsxINC / ItsxGlobalAnimation.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-28  |  1.3 KB  |  42 lines

  1. //******************************************************************************
  2. //    File: ItsxGlobalAnimation.h
  3. //  Module: trueSpace eXtensions API
  4. //   Descr: Declarations for the ItsxGlobalAnimation COM interface
  5. //******************************************************************************
  6.  
  7.  
  8. #ifndef ITSXGLOBALANIMATION_H
  9. #define ITSXGLOBALANIMATION_H
  10.  
  11.  
  12. #include "itsxcommon.h"
  13.  
  14. // typedef a pointer to this interface
  15. typedef struct ItsxGlobalAnimation* PITSXGLOBALANIMATION;
  16.  
  17.  
  18. #undef INTERFACE
  19. #define INTERFACE ItsxGlobalAnimation
  20.  
  21. DECLARE_INTERFACE_(ItsxGlobalAnimation, IUnknown)
  22. {
  23.     // IUnknown members
  24.     STDMETHOD(QueryInterface) (THIS_ REFIID, PPVOID) PURE;
  25.     STDMETHOD_(ULONG, AddRef)  (THIS) PURE;
  26.     STDMETHOD_(ULONG, Release) (THIS) PURE;
  27.  
  28.     // ItsxGlobalAnimation members
  29.     STDMETHOD(GetActiveTime) (THIS_ float*) PURE;
  30.     STDMETHOD(SetActiveTime) (THIS_ float) PURE;
  31.     STDMETHOD(SetActiveObjectPlayMode) (THIS) PURE;
  32.     STDMETHOD(SetDocumentPlayMode) (THIS) PURE;
  33.     STDMETHOD(SetPlayRanges) (THIS_ float, float) PURE;
  34.     STDMETHOD(Play) (THIS) PURE;
  35.  
  36. };
  37.  
  38. // define a GUID for this interface
  39. DEFINE_GUID(IID_ItsxGlobalAnimation, 0xc1e429c0, 0x43cc, 0x11d1, 0xa2, 0x55, 0x0, 0x60, 0x97, 0xd1, 0x5f, 0x58);
  40. // {C1E429C0-43CC-11d1-A255-006097D15F58}
  41.  
  42. #endif // ITSXGLOBALANIMATION_H